
/****** Object:  Stored Procedure [sapro].SanPhamGet    Script Date: Thursday, March 18, 2010 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spSanPhamGet]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [sapro].[spSanPhamGet]
GO

	
			
	
/******************************************************************************
**		File: 
**		Name: [sapro].spSanPhamGet
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 3/18/2010 5:04:50 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [sapro].spSanPhamGet
	@MaSanPham nvarchar(50)
AS

SELECT
	[MaSanPham],
	[TenSanPham],
	[SoDiem],
	[NoiDung],
	[ChiTiet],
	[DanhMuc],
	[AnhDaiDien],
	[AnhLon]
FROM
	[sapro].[SanPham]
WHERE
	[MaSanPham] = @MaSanPham

GO
	

	

